package org.wlw.mapper;

import java.util.List;

/*
* Mapper只进行增删改查，不进行业务逻辑的判断，需要在Service中进行业务逻辑的判断
* */
public interface BaseMapper <T>{
    public void add(T t);
    public void update(T t);
    public void delete(int id);
    public T load(int id);
    public List<T> find();
}
